package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * 
 * @TableName logistics_order
 */
@TableName(value ="logistics_order")
public class LogisticsOrder implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Object id;

    /**
     * 
     */
    private String logisticsnumber;

    /**
     * 
     */
    private String identifycode;

    /**
     * 
     */
    private String orderclass;

    /**
     * 
     */
    private String shipper;

    /**
     * 
     */
    private String shipperphone;

    /**
     * 
     */
    private String shipperaddress;

    /**
     * 
     */
    private String recipient;

    /**
     * 
     */
    private String recipientphone;

    /**
     * 
     */
    private String recipientaddress;

    /**
     * 
     */
    private String goodsinfo;

    /**
     * 
     */
    private String goodsnumber;

    /**
     * 
     */
    private String shippertime;

    /**
     * 
     */
    private String orderstate;

    /**
     * 
     */
    private String trainingid;

    /**
     * 
     */
    private String userid;

    /**
     * 
     */
    private String ordernumber;

    /**
     * 
     */
    private String receivedate;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public Object getId() {
        return id;
    }

    /**
     * 
     */
    public void setId(Object id) {
        this.id = id;
    }

    /**
     * 
     */
    public String getLogisticsnumber() {
        return logisticsnumber;
    }

    /**
     * 
     */
    public void setLogisticsnumber(String logisticsnumber) {
        this.logisticsnumber = logisticsnumber;
    }

    /**
     * 
     */
    public String getIdentifycode() {
        return identifycode;
    }

    /**
     * 
     */
    public void setIdentifycode(String identifycode) {
        this.identifycode = identifycode;
    }

    /**
     * 
     */
    public String getOrderclass() {
        return orderclass;
    }

    /**
     * 
     */
    public void setOrderclass(String orderclass) {
        this.orderclass = orderclass;
    }

    /**
     * 
     */
    public String getShipper() {
        return shipper;
    }

    /**
     * 
     */
    public void setShipper(String shipper) {
        this.shipper = shipper;
    }

    /**
     * 
     */
    public String getShipperphone() {
        return shipperphone;
    }

    /**
     * 
     */
    public void setShipperphone(String shipperphone) {
        this.shipperphone = shipperphone;
    }

    /**
     * 
     */
    public String getShipperaddress() {
        return shipperaddress;
    }

    /**
     * 
     */
    public void setShipperaddress(String shipperaddress) {
        this.shipperaddress = shipperaddress;
    }

    /**
     * 
     */
    public String getRecipient() {
        return recipient;
    }

    /**
     * 
     */
    public void setRecipient(String recipient) {
        this.recipient = recipient;
    }

    /**
     * 
     */
    public String getRecipientphone() {
        return recipientphone;
    }

    /**
     * 
     */
    public void setRecipientphone(String recipientphone) {
        this.recipientphone = recipientphone;
    }

    /**
     * 
     */
    public String getRecipientaddress() {
        return recipientaddress;
    }

    /**
     * 
     */
    public void setRecipientaddress(String recipientaddress) {
        this.recipientaddress = recipientaddress;
    }

    /**
     * 
     */
    public String getGoodsinfo() {
        return goodsinfo;
    }

    /**
     * 
     */
    public void setGoodsinfo(String goodsinfo) {
        this.goodsinfo = goodsinfo;
    }

    /**
     * 
     */
    public String getGoodsnumber() {
        return goodsnumber;
    }

    /**
     * 
     */
    public void setGoodsnumber(String goodsnumber) {
        this.goodsnumber = goodsnumber;
    }

    /**
     * 
     */
    public String getShippertime() {
        return shippertime;
    }

    /**
     * 
     */
    public void setShippertime(String shippertime) {
        this.shippertime = shippertime;
    }

    /**
     * 
     */
    public String getOrderstate() {
        return orderstate;
    }

    /**
     * 
     */
    public void setOrderstate(String orderstate) {
        this.orderstate = orderstate;
    }

    /**
     * 
     */
    public String getTrainingid() {
        return trainingid;
    }

    /**
     * 
     */
    public void setTrainingid(String trainingid) {
        this.trainingid = trainingid;
    }

    /**
     * 
     */
    public String getUserid() {
        return userid;
    }

    /**
     * 
     */
    public void setUserid(String userid) {
        this.userid = userid;
    }

    /**
     * 
     */
    public String getOrdernumber() {
        return ordernumber;
    }

    /**
     * 
     */
    public void setOrdernumber(String ordernumber) {
        this.ordernumber = ordernumber;
    }

    /**
     * 
     */
    public String getReceivedate() {
        return receivedate;
    }

    /**
     * 
     */
    public void setReceivedate(String receivedate) {
        this.receivedate = receivedate;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        LogisticsOrder other = (LogisticsOrder) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getLogisticsnumber() == null ? other.getLogisticsnumber() == null : this.getLogisticsnumber().equals(other.getLogisticsnumber()))
            && (this.getIdentifycode() == null ? other.getIdentifycode() == null : this.getIdentifycode().equals(other.getIdentifycode()))
            && (this.getOrderclass() == null ? other.getOrderclass() == null : this.getOrderclass().equals(other.getOrderclass()))
            && (this.getShipper() == null ? other.getShipper() == null : this.getShipper().equals(other.getShipper()))
            && (this.getShipperphone() == null ? other.getShipperphone() == null : this.getShipperphone().equals(other.getShipperphone()))
            && (this.getShipperaddress() == null ? other.getShipperaddress() == null : this.getShipperaddress().equals(other.getShipperaddress()))
            && (this.getRecipient() == null ? other.getRecipient() == null : this.getRecipient().equals(other.getRecipient()))
            && (this.getRecipientphone() == null ? other.getRecipientphone() == null : this.getRecipientphone().equals(other.getRecipientphone()))
            && (this.getRecipientaddress() == null ? other.getRecipientaddress() == null : this.getRecipientaddress().equals(other.getRecipientaddress()))
            && (this.getGoodsinfo() == null ? other.getGoodsinfo() == null : this.getGoodsinfo().equals(other.getGoodsinfo()))
            && (this.getGoodsnumber() == null ? other.getGoodsnumber() == null : this.getGoodsnumber().equals(other.getGoodsnumber()))
            && (this.getShippertime() == null ? other.getShippertime() == null : this.getShippertime().equals(other.getShippertime()))
            && (this.getOrderstate() == null ? other.getOrderstate() == null : this.getOrderstate().equals(other.getOrderstate()))
            && (this.getTrainingid() == null ? other.getTrainingid() == null : this.getTrainingid().equals(other.getTrainingid()))
            && (this.getUserid() == null ? other.getUserid() == null : this.getUserid().equals(other.getUserid()))
            && (this.getOrdernumber() == null ? other.getOrdernumber() == null : this.getOrdernumber().equals(other.getOrdernumber()))
            && (this.getReceivedate() == null ? other.getReceivedate() == null : this.getReceivedate().equals(other.getReceivedate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getLogisticsnumber() == null) ? 0 : getLogisticsnumber().hashCode());
        result = prime * result + ((getIdentifycode() == null) ? 0 : getIdentifycode().hashCode());
        result = prime * result + ((getOrderclass() == null) ? 0 : getOrderclass().hashCode());
        result = prime * result + ((getShipper() == null) ? 0 : getShipper().hashCode());
        result = prime * result + ((getShipperphone() == null) ? 0 : getShipperphone().hashCode());
        result = prime * result + ((getShipperaddress() == null) ? 0 : getShipperaddress().hashCode());
        result = prime * result + ((getRecipient() == null) ? 0 : getRecipient().hashCode());
        result = prime * result + ((getRecipientphone() == null) ? 0 : getRecipientphone().hashCode());
        result = prime * result + ((getRecipientaddress() == null) ? 0 : getRecipientaddress().hashCode());
        result = prime * result + ((getGoodsinfo() == null) ? 0 : getGoodsinfo().hashCode());
        result = prime * result + ((getGoodsnumber() == null) ? 0 : getGoodsnumber().hashCode());
        result = prime * result + ((getShippertime() == null) ? 0 : getShippertime().hashCode());
        result = prime * result + ((getOrderstate() == null) ? 0 : getOrderstate().hashCode());
        result = prime * result + ((getTrainingid() == null) ? 0 : getTrainingid().hashCode());
        result = prime * result + ((getUserid() == null) ? 0 : getUserid().hashCode());
        result = prime * result + ((getOrdernumber() == null) ? 0 : getOrdernumber().hashCode());
        result = prime * result + ((getReceivedate() == null) ? 0 : getReceivedate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", logisticsnumber=").append(logisticsnumber);
        sb.append(", identifycode=").append(identifycode);
        sb.append(", orderclass=").append(orderclass);
        sb.append(", shipper=").append(shipper);
        sb.append(", shipperphone=").append(shipperphone);
        sb.append(", shipperaddress=").append(shipperaddress);
        sb.append(", recipient=").append(recipient);
        sb.append(", recipientphone=").append(recipientphone);
        sb.append(", recipientaddress=").append(recipientaddress);
        sb.append(", goodsinfo=").append(goodsinfo);
        sb.append(", goodsnumber=").append(goodsnumber);
        sb.append(", shippertime=").append(shippertime);
        sb.append(", orderstate=").append(orderstate);
        sb.append(", trainingid=").append(trainingid);
        sb.append(", userid=").append(userid);
        sb.append(", ordernumber=").append(ordernumber);
        sb.append(", receivedate=").append(receivedate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}